#                                               -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.

AC_PREREQ([2.63])
AC_INIT([minilog], [0.0.1], [ffgandnopeople@gmail.com])
AC_CONFIG_SRCDIR([logging.h])
AC_CONFIG_HEADERS([config.h])
AM_INIT_AUTOMAKE([dist-zip])

# Checks for programs.
AC_PROG_CXX
AC_PROG_CC
AM_PROG_LIBTOOL
LIBTOOL="$LIBTOOL --silent"

AC_DEFINE(POSIX, 1, [If we're using configure, we're on POSIX])
AC_DEFINE(_DEBUG, 1, [we're on debug support log])
# Checks for libraries.

# Checks for header files.
AC_CHECK_HEADERS([sys/time.h])

# Checks for typedefs, structures, and compiler characteristics.
AC_HEADER_STDBOOL
AC_C_INLINE
AC_TYPE_SIZE_T

# Checks for library functions.
AC_CHECK_FUNCS([gettimeofday memset strerror strrchr])

AC_OUTPUT([Makefile
	   test/Makefile
        ])

